import { globalShortcut } from 'electron'
import { generateWindowUuidFunction, registerAGlobalShortcutFunction } from '../types/utils'

/**
 * 生成新窗口uuid
 */
export const generateWindowUuid: generateWindowUuidFunction = (): string =>
  '#' + Math.random().toString(36).substring(7)
